package cn.edu.nsmc.common.utils;

import lombok.Getter;

@Getter
public enum UserTypeEnum {
    ADMIN_OLD(0, "管理员"),
    ADMIN(1, "管理员"),
    STAFF(2, "职工"),
    MEDIC(3, "医护"),
    STU(4, "学生"),
    REPAIRMAN(5, "维修人员"),
    TEACHER(6, "教师");

    private final int value;
    private final String name;

    UserTypeEnum(int value, String name) {
        this.value = value;
        this.name = name;
    }
}